package com.mallcloud.mall.app.api.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@ApiModel(value = "XglPartingPaymentDerateDTO", description = "减免金额")
@Data
public class XglPartingPaymentDerateDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	@NotBlank(message = "车牌号不能为空")
	@ApiModelProperty(value = "车牌号")
	private String carNumber;

	@NotNull(message = "减免金额不能为空")
	@ApiModelProperty(value = "减免金额")
	private BigDecimal derateAmount;

}
